While Creating a new folder in a drive, got Invalid Request. Microsoft.Graph.Models.ODataErrors.ODataError: One of the provided arguments is not acceptable.
I was trying the example from the url: https://learn.microsoft.com/en-us/graph/api/driveitem-post-children?view=graph-rest-1.0&tabs=cli to create a folder in the drive. I have a registered app with following Admin Granted permissions : When…
How to get GRAPH API token in office.js (got 401 unauthorized)
I set up my Azure app registration application following this document: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-on-behalf-of-flow I have my Web URI set as: https://localhost:xxxx/Application (client) ID. I added my custom page…
Error Fetching TeamsID with Graph
Hi everyone, I'm currently trying to retrieve the TeamsID using Microsoft Graph API. However ,I keep encountering an error and I'm not sure how to resolve it. Here is the request I'm making and the error message I'm receiving: GET…
graph api bulk udpate contact in an organisation from a csv
Graph api error bulk contact update from a csv updating the contacts using self.endpoint_base = 'https://graph.microsoft.com/v1.0/me/contacts' this api throws me an error 2024-05-24 16:24:05,765 - INFO - ClientSecretCredential.get_token succeeded…
Azure AD B2C passwordless login with email verification
Hi, I want to create a custom policy so as to login users. The flow I want is: The user enters email (only email, not password). The user choses in the next step if he wants to get the OTP code via phone sms or phone call. The issue is that the user…
Microsoft 365 Defender - How to get more meaningful email alerting?
How can I get more meaningful email alerts using the Microsoft 365 Defender? Because every time I get the email alert, the email is not as informative like the below: Microsoft 365 Defender has detected a security threat in your environment View incident…
Can I put the value of instanceDurationInDays in minutes for the QA while creating access reviews using powershell?
I am able to create an azure access reviews with Graph API 1.0 using PowerShell. Now, there is a property called instanceDurationInDays which should have an integer value. The access review will remain active for the number of days of the value of…
Issue with Adding Planner Tab to Teams Using Graph API - Content Perpetually Loading
Hello, I've been encountering an issue for the past 2-3 weeks, which seems to coincide with the release of the new Planner version. When attempting to add a Planner tab to a Microsoft Teams channel using the Microsoft Graph API, the tab is successfully…
Inconsistent API Errors with Webhook Events: Could not find the requested call record. Records about calls or online meetings that started more than 30 days ago are not available.
Hello Team, We have implemented a Teams webhook to receive events whenever a Teams call ends. Upon receiving the webhook from Microsoft, we are making another call to the Microsoft Graph API service to retrieve the details of the call record using the…
Please allow subscriptions on new Alerts API (/alerts_v2)
Hi, To automate the remediation of high-level alerts, we have set up Powerautomate flows for : revoke sessions and block a user concerned by a High alert in cases of phishings or abnormal connections (UserEvidence) isolate workstations in cases of…
Webhook Subscription Payload
Created a subscription using url --> https://graph.microsoft.com/v1.0/subscriptions And added notification url 'https://xxx.com/webhook ' with chatid in the body of the API call. In the handler function expecting message Headers which are sent by…
Connect-MgGraph : Invalid JWT access token. Connect-AzAccount : InteractiveBrowserCredential authentication failed
I need help and a solution to rectify the below error when executing the PowerShell Connect-* command. $TenantID = '22bb9241-65c8-45b4-94f9-7c151e154693' $AzSubscriptionID = 'd487514e-4317-447f-af79-5022d310f6bd' $paramConnectMgGraph = @{ Scopes =…
CORS error on Drive item preview endpoint
Following this document: https://learn.microsoft.com/en-us/sharepoint/dev/embedded/tutorials/using-file-preview I have successfully obtained the item preview url by calling this endpoint first: POST…
How can I get eligibility for a sandbox subscription to Microsoft 365 developer program.
I would like to get a Microsoft 365 Developer subscription (E5). But is says my account is not eligible. My current company uses a lot of Microsoft products inhouse. I am currently working on a solution that needs to interact with the company SharePoint…
About Microsoft Graph API Get OneDrive Word File Content
Hi guys, I am using Microsoft Graph Api for create, upload and download docx/doc document on OneDrive. But I want to reach only content inside the uploaded document or existing document in OneDrive. I tried the get item and download services with…
How to use Graph API to edit Word or PowerPoint content
How can I use the Microsoft Graph API to extract content from a Word or PowerPoint document, find and replace specific text, and then update the existing document? I have attempted to use…
After 1/2 year API 403 error
I have a PowerShell script that runs daily and creates a folder in the employee contact lists via token (request) and writes the company's contacts in it so that everyone has them on their cell phone. The next day, this folder is deleted and the contacts…
OneDrive - graph api to get files shared with a user
What is the graph Api to get the files shared with user for OneDrive ? (using the below auth flow) I am using an Azure Add App and the client credential flow with a self signed certificate as below. Using this, and the graph Apis, I am able to get the…
Intermittent 503 Errors with Microsoft Graph API: Get Calendar Events
When I request the Get Events API (v1.0/me/events/), I frequently encounter 503 errors. In some cases, it doesn't even return a 503 error but times out instead. This issue started occurring around 23:30 (UTC) on May 23, 2024, and it is still happening…
'userRegistrationDetails' graph API not listing all users MFA details
I'd like to get customer's users who do not use MFA. I can do this using PowerShell but I didn't find a method property on graph API to get user's "strongauthenticationrequirements.state". I am using graph API …